package com.koron.log.mapper;

import com.koron.common.core.business.log.entity.po.LogOperatePo;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * (LogOperate)表数据库访问层
 *
 * @author zhouj
 * @since 2022-06-08 11:53:55
 */
public interface LogOperateMapper {

    int insertOrUpdate(LogOperatePo logOperate);

    int insertOrUpdateBatch(@Param("list") List<LogOperatePo> logOperateList);

    int insert(LogOperatePo logOperate);

    int insertBatch(@Param("list") List<LogOperatePo> logOperateList);

    int update(LogOperatePo logOperate);

    int deleteById(String id);

    LogOperatePo queryById(String id);

    List<LogOperatePo> queryList(LogOperatePo logOperate);

}